package com.baor.dao;

import com.baor.domain.InvoiceVo;
import com.github.yulichang.base.mapper.MPJJoinMapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface InvoiceDao extends MPJJoinMapper<InvoiceVo> {
    List<Map<String, Object>> selectInvoice(Map<String, Object> params);
    int pageCount(Map<String, Object> params);
    List<Map<String, Object>> selectInvoiceDetail(Map<String, Object> params);
    int insertInvoice(Map<String, Object> params);
    List<Map<String, Object>> selectInvoiceType();
    int updateInvoiceStatus(Map<String, Object> params);
}
